
package cn.edu.scau.cmi.hombio.dao;

import cn.edu.scau.cmi.hombio.domain.TaskPigsty;

import java.util.Set;

import org.skyway.spring.util.dao.JpaDao;

import org.springframework.dao.DataAccessException;

/**
 * DAO to manage TaskPigsty entities.
 * 
 */
public interface TaskPigstyDAO extends JpaDao<TaskPigsty> {

	/**
	 * JPQL Query - findTaskPigstyByMemoContaining
	 *
	 */
	public Set<TaskPigsty> findTaskPigstyByMemoContaining(String memo) throws DataAccessException;

	/**
	 * JPQL Query - findTaskPigstyByMemoContaining
	 *
	 */
	public Set<TaskPigsty> findTaskPigstyByMemoContaining(String memo, int startResult, int maxRows) throws DataAccessException;

	/**
	 * JPQL Query - findAllTaskPigstys
	 *
	 */
	public Set<TaskPigsty> findAllTaskPigstys() throws DataAccessException;

	/**
	 * JPQL Query - findAllTaskPigstys
	 *
	 */
	public Set<TaskPigsty> findAllTaskPigstys(int startResult, int maxRows) throws DataAccessException;

	/**
	 * JPQL Query - findTaskPigstyByMemo
	 *
	 */
	public Set<TaskPigsty> findTaskPigstyByMemo(String memo_1) throws DataAccessException;

	/**
	 * JPQL Query - findTaskPigstyByMemo
	 *
	 */
	public Set<TaskPigsty> findTaskPigstyByMemo(String memo_1, int startResult, int maxRows) throws DataAccessException;

	/**
	 * JPQL Query - findTaskPigstyById
	 *
	 */
	public TaskPigsty findTaskPigstyById(Integer id) throws DataAccessException;

	/**
	 * JPQL Query - findTaskPigstyById
	 *
	 */
	public TaskPigsty findTaskPigstyById(Integer id, int startResult, int maxRows) throws DataAccessException;

	/**
	 * JPQL Query - findTaskPigstyByPrimaryKey
	 *
	 */
	public TaskPigsty findTaskPigstyByPrimaryKey(Integer id_1) throws DataAccessException;

	/**
	 * JPQL Query - findTaskPigstyByPrimaryKey
	 *
	 */
	public TaskPigsty findTaskPigstyByPrimaryKey(Integer id_1, int startResult, int maxRows) throws DataAccessException;

}